<?php

class m_users_documents_ActivationBase extends f_document_BaseDocument
{

	private $url;
	private $user;

	public function __construct($id = null, $lang = null)
	{
		parent::__construct($id, null, $lang);
	}

	public function getTableName()
	{
		return "m_users__activation";
	}

	public function getDocumentModel()
	{
		return "modules_users/activation";
	}
	
	protected function getFieldsBag()
	{
		return array('document_id', 			'document_uid', 			'document_model', 			'document_author', 			'document_creationdate', 			'document_modificationdate', 			'document_publicationstatus', 			'document_lang', 			'document_revision', 			'document_startpublicationdate', 			'document_endpublicationdate', 			'document_label', 			'url', 			'user');
	}

	public function getdefaultPublicationstatus()
	{
		return "PUBLISHED";
	}

	/**
	 * @return boolean
	 */
	public function isRevisable()
	{
		return false;
	}
	
	/**
	 * @return boolean
	 */
	public function isLocalized()
	{
		return false;
	}	
	
    /**
	 * @return boolean
	 */
	public function isRecursive()
	{
		return $this->isRecursive;
	}
	
	/**
	 * @param boolean $value
	 * @return m_users_documents_ActivationBase
	 */	
	public function setIsRecursive($value)
	{
		$this->isRecursive = $value;
	}
		
	/**
	 * @return string
	 */
	public function getUrl()
	{
		return $this->url;
	}

	/**
	 * @param string $value
	 * @return m_users_documents_Activation
	 */
	public function setUrl($value)
	{
		$this->url = $value;
		return $this;
	}
	/**
	 * @return integer
	 */
	public function getUser()
	{
		return $this->user;
	}

	/**
	 * @param integer $value
	 * @return m_users_documents_Activation
	 */
	public function setUser($value)
	{
		$this->user = $value;
		return $this;
	}
	public function relationFields()
	{
		return array();
	}
	


}